#include <sfio.h>
#include "cdt_line.h"

int main(void)
{
	Vmalloc_t *LineSet_vmpool = NULL;
	char *l1, *l2;
	
	Cdt_LineDiscipline.size = 8;
	LineSet_vmpool = vmopen(Vmdcheap, Vmlast, VM_TRUST);
	l1 = vmalloc(LineSet_vmpool, LINESZ(Cdt_LineDiscipline.size));
	l2 = vmalloc(LineSet_vmpool, LINESZ(Cdt_LineDiscipline.size));
	sfprintf(sfstdout, "diff:%d sz:%u align=%p,%p\n", l2 - l1,
			 LINESZ(Cdt_LineDiscipline.size), l1, l2);
	return 0;
}
